![]() |
PATH![]() |
![]() ![]() |
Send a command to a server UAM.
pascal OSErr UAMCall(UAMArgs *);
If a fatal error occurs for which a client UAM puts up a dialog box, the client UAM should return userCancelledErr to back out of the UAM call.
If you are implementing a client UAM, you must implement a UAMCall routine. The AFP client must call UAMCall from it's main event loop so the client UAM can make A5-dependent calls, such as calls to QuickDraw and the Resource Manager.
shows the typical sequence of commands for three scenarios:
Table 3-1 Typcial client UAM command sequence
As noted in , some client UAM commands are optional. The value returned to the AFP client by your UAM's UAMOpen entry point indicates the optional commands that your UAM supports and determines whether the AFP client will call any optional commands supported by your UAM. The mechanism for indicating support for optional commands is described in the section UAMOpen Command .